package com.gopay.common.domain.cps;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import com.gopay.common.domain.BaseEntity;

/**
 * 收益计算任务表
 * 
 * @author caoyongfeng
 * 
 */
@Entity
@Table(name = "CPS_GAINS_CAL_JOB_INFO")
public class CpsGainsCalJobInfo extends BaseEntity {

    private static final long serialVersionUID = -1816070244336517442L;

    private Long jobId;

    private String acctId;

    private String custId;

    private Long solutionId;

    private String jobStartDate;

    private String jobStatus;

    private Date createTs;

    private Date lastUpdTs;

    private String lastUpdTransCode;

    @Id
    @SequenceGenerator(name = "CpsGainsCalJobInfoSequence", sequenceName = "CPS_GAINS_CAL_JOB_INFO_SEQ")
    @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "CpsGainsCalJobInfoSequence")
    @Column(name = "JOB_ID", unique = true, nullable = false, length = 32)
    public Long getJobId() {
        return jobId;
    }

    public void setJobId(Long jobId) {
        this.jobId = jobId;
    }

    @Column(name = "ACCT_ID")
    public String getAcctId() {
        return acctId;
    }

    public void setAcctId(String acctId) {
        this.acctId = acctId;
    }

    @Column(name = "CUST_ID")
    public String getCustId() {
        return custId;
    }

    public void setCustId(String custId) {
        this.custId = custId;
    }

    @Column(name = "SOLUTION_ID")
    public Long getSolutionId() {
        return solutionId;
    }

    public void setSolutionId(Long solutionId) {
        this.solutionId = solutionId;
    }

    @Column(name = "JOB_START_DATE")
    public String getJobStartDate() {
        return jobStartDate;
    }

    public void setJobStartDate(String jobStartDate) {
        this.jobStartDate = jobStartDate;
    }

    @Column(name = "JOB_STATUS")
    public String getJobStatus() {
        return jobStatus;
    }

    public void setJobStatus(String jobStatus) {
        this.jobStatus = jobStatus;
    }

    @Column(name = "CREATED_TS")
    public Date getCreateTs() {
        return createTs;
    }

    public void setCreateTs(Date createTs) {
        this.createTs = createTs;
    }

    @Column(name = "LAST_UPD_TS")
    public Date getLastUpdTs() {
        return lastUpdTs;
    }

    public void setLastUpdTs(Date lastUpdTs) {
        this.lastUpdTs = lastUpdTs;
    }

    @Column(name = "LAST_UPD_TRANCODE")
    public String getLastUpdTransCode() {
        return lastUpdTransCode;
    }

    public void setLastUpdTransCode(String lastUpdTransCode) {
        this.lastUpdTransCode = lastUpdTransCode;
    }

}
